Pressing and releasing the brake pedal unnecessarily can:

On a vehicle with air brakes, pressing and releasing the brake pedal unnecessarily may let air out of the braking system faster than the compressor can replace it. This may cause the system's air pressure to become too low and the brakes to stop working.
DMV Writen Test