Mystery Plastic cap/pipe in front yard
The cap is called a "popup emitter" and is used to cap a drain line.  When there is water pressure the center part "pops" up and allows the water to flow.

Perhaps it's from a downspout or a sump pump.  It looks as though it may be clogged up.

Popup Emitter