After the monkey head approaches the cube, the cube bounces. How to use geometric nodes to make it?

After the monkey head approaches the cube, the cube bounces. How to use geometric nodes to make it?