This is something thats always happened. Sailors in the 1800s would catch whales with squid guts still in their stomachs. Whales just have the capability to dive as deep as giant squids do, and as far as we know will often hunt them.