That flexibility may help explain how whale sharks manage to survive.