I heard a guy on Radio 4 this morning saying it’s because they mainly eat squid and there ain’t no squid in the North Sea. They were probably weak and dehydrated as they get all the water from their prey.
Whales have been beaching for millions of years and it’s nothing to do with man or sonar. They just ended up in the wrong place with nothing to eat.