What oil are you using, not all lubes use the same anti-foam agents and some lube foam bad when used with gears then it pukes it out the vent tube.
Also seen gear lubes foam when running at high speeds for a long run like 80 MPH+ on the hwy for 2 hrs.