If we forgot about the fact I don't know why top box moves with bottom box (because I didn't program it at all. The engine does it but where, when and why?), so the moments where you can't move when another box on top of you is a bug of default godot physics after I changed it to rapier2d engine it started to work
EDIT: Just found the place where bottom box moves top box :D