I recently noticed a fly got caught in a spider web in my house. The fly was very energetic and, even though caught, continued to flap it's one wing (which I think might have been partially free) with hyper-speed.
Initially I thought it was just trying to get free from the web but then I noticed that when the tiny spider (it was smaller than the fly) approached it to, presumably, try to inject its venom the fly started to again energetically flap it's wing and it scared the spider off.
I was wondering - why did the spider got scared? I know animals do not perceive threats quite like us and even a big lioness might give way to a tiny mongoose if the mongoose threatens with a fight (I'm guessing both because unnecessary fighting expends precious energy and any wound can be bad with no hospitals around) but still as far as I know the fly can't harm the spider in any way even if it is free and much less when it is bound and while it would be smarter for the spider to just sit and patiently wait for the fly to drop out of exhaustion he is also risking it getting free, eventually.
So why are spiders scared of flies caught in their web?