How can I make these cubes react to each other?

RigidBodies do not like their position being modified directly, instead it’s better to apply forces in the direction you want it to go.

Here’s a link to a thread on a similar subject, in 3D. The Vector mathematics should apply all the same.

2 Likes