High heels are a very simple trick.
We humans have not changed since the first homo sapiens walked the earth. We humans (men and women) have the sole purpose to preserve the species (that's why it's so much fun 😉).
What do you need to preserve the species? A male that can defend the clan and a female that is not only fertile but can keep the children safe. How does the female do that? She runs. What do I need for fast running? Long legs (that's why the male likes long legs) and good muscles in calves, thighs and buttocks.
And now transfer to today. What do high heels do? The back of the foot, in the optimal case, is brought into a straight shape connecting to the shin to visually lengthen the legs. This posture also shows well the muscles in the calves, thighs and buttocks. That's why we men are totally into it, volutions conditioned. In addition, only a few women can run in high heels. Which in turn appeals to our protective instinct.
So a very simple trick that goes down well with most men.