Horses spook at things, some more, some less. yes, it is largely affected by the confidence of the rider. But, horses will spook at things.
It isn't necessary to make her go up to the thing that scares her. just do not allow her to turn away and bolt away from it, or to rush all goosey past it. She does not have to go touch it, but she cannot "flee" it, either. and, she must return to your direction (go the way you want her to) as soon as she is ready.
So, to me that means that if the horse is really scared of something, so much that he'll want to spin and bolt, I will , using one rein, pull him/her back toward facing the object. if they spin right, I pull them back to the left and let go as soon as they are facing the object. I will let them look at it for a bit, on as loose a rein as I can, just be ready to put their head back in that direction if they spin. or, if the try to goose on past it, I'll pull them up, turn them back and go past it again until they can walk past it without their neck in the air and a hollowed out back and dashing past.
if the horse is really, really scared, I allow them the time to stand and smell or think about the object. other experienced riders do not agree with that approach. for me, if the horse is really scared, and I push it forward, it will certainly feel pinched between a rock and a hard place, and likely spin. if I wait for a sec, and look to see a change in its body, like, it heaves a sigh, licks it's lips, turns to look in another direction, lowers its head, then I know it is ready to take my direction to move forward. I ask for forward, and do not clench up on the rein, if you can manage.
and , as soon as you can, go back to the loosest rein you can. you can pat your hrose AFTER she passes the scary thing, not while she's spooking or thinking about it.