Brake pads: The most common cause of squeaking brakes is worn brake pads. When the brake pads are worn down, they can make a high-pitched squeaking or squealing noise when they rub against the brake rotors. This noise is usually more noticeable when the brakes are applied lightly, and it goes away when the brakes are applied more firmly. If you hear a squeaking noise when you're driving, it's a good idea to have your brake pads checked as soon as possible.
Wheel bearings: Another possible cause of squeaking brakes is worn wheel bearings. Wheel bearings are small, ball-shaped bearings that allow the wheels to rotate smoothly. When the wheel bearings are worn out, they can make a grinding or squeaking noise when the car is in motion. The noise is usually more noticeable when the car is making a turn. If you hear a squeaking noise when you're driving, it's a good idea to have your wheel bearings checked as soon as possible.
Driveline components: In some cases, a squeaking noise when in gear can be caused by worn or damaged driveline components, such as the universal joints or driveshaft. This type of noise is usually more noticeable when the car is accelerating or decelerating. If you hear a squeaking noise when you're driving, it's a good idea to have your driveline components checked as soon as possible.
The fact that the squeaking stops when you put your foot on the brake suggests that the noise is coming from the brake system. However, it's still possible that the noise is being caused by another component, such as the wheel bearings or driveline components. If you're not sure what's causing the noise, it's best to have your car inspected by a qualified mechanic.