When that happened to me once on a flight it was a pressurization issue. They saw they weren’t pressurizing as they approached 10,000 feet so they held at that altitude and got it fixed then climbed. The pilot announced what was happening. It was a domestic US flight.