Most likely you became dehydrated. In all the planes I know, it's a myth about recycled air. You get more fresh air in a plane than in any building I know of, unless you open every window in your house with a stiff breeze blowing. In our 767's, the entire cabin is replaced with fresh air every couple minutes.
Getting dehydrated is easy to do though, because the air at altitude is VERY dry. You don't notice it, but your sinuses and such get dried out, and then more susceptible to dust, allergens, viruses etc.
Since I started flying longhaul, I drink at least one liter of water per flight, usually more. Skip the caffeniated soda and coffee, because they just help dehydrate you faster. Stick with the water - and lots of it - and you'll feel fine after a flight.
One smooth landing is skill. Two in a row is luck. Three in a row and someone is lying.