Why do feet get deformed?

how does the emergency department work?