Can flying affect symptoms

Hi all. I have just returned from my first holiday abroad since the onset of MS symptoms. I had a relapse a couple of weeks before the holiday but my Ms nurse fully supported the break and the steroids helped me to full recovery. It was a 3.5 hr flight and when I get off I really struggled with my legs. I had no strength and my quads were weak, I struggled to stay upright. 24 hrs later, after a day lying on a sun bed, I was right as rain. The flight home I had no problems. So my question is can air pressure exacerbate our MS symptoms ? If it does why didn't I struggle after the flight back? Was that just because I had a very relaxing break in comfortably warm weather?