Margaery just saw lights and what looked like a spaceship which, for her, was just extremely confusing. She was thankful Obi had good reflexes so they didn't hit the 'thing' as Loras called for him to stop.
At his warning she held onto her brother and lowered her head, if there was any jolting she didn't want to end up accidentally headbutting her brother or something.