Why do some houses have flooded front yards?

I was driving through some neighborhoods and noticed a few houses throughout Phoenix and neighboring cities where the front yards are flooded with water. They tend to be ranch style houses and it’s not just a house here and there in the same neighborhood. It’s quite a few across the entire valley. Why is this happening? Especially when I keep hearing about shortages of water.

Edit: Thanks all for your responses. I am not native to Phoenix so this is new to me. Very interesting. Sorry for my naive question. I just haven’t seen it much elsewhere.