Problem With Sprinkler Backflow Device
If the inlet valve (bottom, in your picture) isn't opened enough, or if the other valves aren't set right, there's not enough pressure to activate the backflow preventer, so water just spews out the top and/or sides. Check out this video on how to properly "turn on" the pressure-vacuum breaker (PVB).