How do whales warn “incoming!” ?

“New population of blue whales discovered with help of bomb detectors,” UNSW research announcement, yesterday

It’s not like it sounds. The detectors were used to pick up whales singing, not blow their cover.