Either the sprinkler head has broken or, more likely, the riser has broken. The riser connects the PVC pipe to the sprinkler head. Risers are short lengths of pipe that have male threads on each end.