The subs got pinged. It doesn't matter if you're quiet when you are pinged. My bet is that the subs deliberately got close enough to record the QE's sound signature, and it doesn't matter if they are detected or not as long as they collected the ship's sound signature, such as the noise of its propellers, engines, induction motors. Probably got a truckload too. I don't even think they even tried to hide, for the purpose of sending a message. The reason why 093s are used instead of 039s is because the SSNs are capable of keeping up with the carrier.