The humpback whale in question was a young animal so it’s assumed that it somehow got seperated from its mother and ended up somewhere it shouldn’t have been. Usually humpback whales only travel so far north in very rare occasions. Perhaps it ended up looking for food in the wrong place and just kept on swimming.

The main theory does seem to be that the animal was already dead at the time it washed ashore, which means it didn’t have to suffer for long. That’s pretty much the only assumptions that have been made at this point since the entire thing is so unbelievable I can imagine there’s no set scientific playbook for a literal humpback whale in the middle of the jungle.
