She had three options.
1. Fly off and attack from the rear unexpectedly. Those ballistas may swivel, but it's hard to shoot through a mast.
2. Gain altitude and put the dragon between the sun and the ships. This is how fighters used to attack because it's impossible to aim with the sun in...