First of all, using Y compute directly on a cube is not the best to debug.
In the shape selector, you can add a custom, for example I used this grid : grid.zip (15.0 KB)
(Unzip to grid.glb)
Now about your wave :
I think problem come from your wave compute. Your angle is not right, depending on its value, the speed changed, which is why it goes crazy using time…
Here is a simpler way of doing it :
Taking X & Z → Put in a 2D Vector → Rotate 2D with angle → Use X → Compute Sin with speed, time, etc
And now, with time in place if the angle, it’s ok :