What brake pedal is the cause of air being in the brake system?

The brake pedal has nothing to do with it. If air is in the system then bleed the brakes.