Astronauts should be fine over a few days or weeks, but it's a different story if they'll be staying on the moon for months. They could develop a foot injury that affects other parts of the body.
Wearing the wrong shoe on Earth can lead to injury. Researchers still need to figure out the physical consequences of spending a long time walking around on the Moon.