I was looking for a way to smoothly rotate an arm and was considering the lattice modifier. The problem is that, for some reason, it moves the object without explanation.
That's not what the lattice is supposed to do.
This problem has also occurred with another modifier called hook. Does anyone know how to fix it?

https://drive.google.com/file/d/1mJOKrqlCU8Q70UARJzVXLIARH5SMSGQs/view?usp=sharing
Here I leave a link to the file on Google Drive in case anyone can know what's going on and tell me what I should fix.