Question: why do x wings open?
Answer: Wings open: provides cooling for weapons energy capacitors which are stored in the wings, the capacitors and Taim&Bak lasers produce massive amounts of heat so both the weapons and capacitors are kept at a distance from each other to better dissipate heat and radiation.