When moving physics objects it is best to use the " physics_apply_force(xpos, ypos, xforce, yforce) or physics_apply_impulse(xpos, ypos, ximpulse, yimpulse) ".
You can move left and right and jump with these.
If you use phy_position_x to move your object the physics wont work properly.