There are many causes but the one cause that I am more aware of is lack of proper minerals. Request the neighbor to get a mineral mix from a feed formulator/seller in a loose form so that the animal will have full access to a quality mix. I am not referencing the trace mineral salt sold at places like Tractor Supply. Other causes are walking on concrete or excessively hard soil, genetics and feed.
my oldest had split hooves and she ended up with pre calf ketosis. after treatment she has been fine. But everybody kept trying to tell me her struggling to get up and her mincing odd walk was sore feet, it went away after treatment.
I would ask vet what calcium suppliment he recomends, mine gave us a paste that you administer with a caulk gun looking thing, she hated it. But she is healthy and a happy mamma.