If the pipe from the skimmer or main drain is plugged or partially blocked this can cause cavitation which puts air into the pump. A leak at the pool equipment and plumbing above ground will allow air into the plumbing when the pump shuts off When the pump turns on that air will go ...