I just got this printer for christmas so I am brand new to all of this. So, on my second print I realized that I couldn't move the z axis downward. After some troubleshooting I found out that it was the distance sensor that was messing it up and it would be able to move back down if I unplugged it. Next couple of prints go fine, although there is a little bit of print curl.

Now, I have no idea why, but when I am trying to set up a print and move the nozzle in the x or y direction, the nozzle will also move up and down in the z direction. Up is moving x to the left, down to the right. Up if I move the print bed towards myself and down if I move it away.

Any ideas on what might have caused this or how to fix it?