Have you adjusted the voltage on the drivers? What power supply do you have? Do you have the steppers wired in parallel or series?
That’s pretty weird. When you first move an axis, it leaves it energized to hold it in place for 5-10 minutes. Maybe having them both energized is causing the problem? It’s very strange, but maybe something is just configured wrong and this strange pattern is how it’s manifesting itself.