The pitch is the rotation of the drone in the Y direction, while the rotation along the X direction is known as roll or vice versa, depending on the front of the drone. This will happen if one pair of opposite propellers provide, thrust more than the other two propellers.
This is the simple aerodynamics of a quadcopter. We will know more details about the aerodynamics throughout this book, in the coming chapters.