You can look at the soles of the flat shoes you have worn and see if the outside of the heel is seriously worn.
If so, it is that there is something wrong with your usual walking habits, which may be a little out of character or your focus is behind when you walk.
Wearing high heels, the most important thing is to keep your back straight, move your center of gravity forward, and use your feet when walking and pedaling. Otherwise it will be ugly. You can look in the mirror and see if your knees are straight when you walk in high heels.
Welcome to ask questions ...