I am afraid of heights.
It’s not so much the height as it is a fear of my own ability not to lose balance.
But, I have no issues with heights whilst in an airplane. I am a PPL, I have hung upside down at 5K ft doing aerobatics in an Extra 300 with nothing between me and the earth except a seatbelt and a half inch of plexiglass. Not a moments hesitation. I trust the airplane.
Put me on a 10’ ladder though… or heaven forbid the roof of my house and I’m a nervous wreck!