Yeah, the pilots didn’t continue to fly the plane to the destination as though nothing happened while losing cabin pressure.
What you probably heard was a door seal that had some gravel or something get caught in it. Likely after the turbulence encounter. It’s noisy as hell and invariably harmless.
The headaches were likely from the intense rattling around, vomiting and general panic level induced by the incident and sound that wasn’t understood.
I’ve had the cabin pressure controller decide this life was too much and dump the cabin climbing through 38,000 feet. The cabin limiters and emergency pressurization kept the cabin from climbing above 12,000 feet, but it went there near instantly. Life was exciting, but there were no oxygen depravation symptoms. I can only guess you were in a 1900, Metro, Brasília or Saab. Maybe a Jetstream or ATR. None of which are going to fly very high to begin with.
I’m sure it was a very scary in incident though.