Thank you for reporting! The rock-pushing puzzle is intended to be optional; if you mess it up, you should just be able to leave the cave and keep playing. I didn't test it on mobile though, I will catch up on that!