Interesting, logically you would think if both bulbs are the same and wired up same, same type of holder except one being a taller lamp, there should be no reason why the taller oen fails more often than the short one. of course vibrations, lose connections, slight arching at contact point or even arching on the switch itself may contribute to a shortened bulb life,
however, there are other factors that OP has not mentioned and these are;
1. Does the bulb fails when you just tried to switch on?
2. Or has it suddenly failed when it was already switched on for a while.
3. how often is the taller lamp switched on daily compared to the shorter lamp.
only then you could reach a slightly more explainable scenario, since most incandescent types of lamps fail on first switching on, and you have to be very unlucky if you just happen to hit the ON/OFF button from off to ON at a precise time when your mains voltage was looming at highest peak well above the nominal 230V ac, i.e. it may have shot up to say 245V !
In UK the mains can have an upper limit of 10% of nominal 230v hence it can often reach up to 253V and if you happen to strike your switch at the highest peak of the sine wave as well as slightly higher than nominal voltage it can pop your lamp. And sure you don't switch both lamps simultaneously, in many cases lamps failing on switch on also pops your MCBs.
I found 60watt candle shaped bulbs had worst life expectancy in my chandeliers, i have stopped using those and now use energy savers, they can last for years.