Why is breast feeding in public legal but peeing in public (men), illegal?

They're both indecent exposure, only one is legal, one isn't. Why is this?
Updates
+1 y
By peeing in public, I mean, going outside in a crowded area and doing it.
Updates
+1 y
Or even in a non crowded area.. you can still get arrested for doing it as a cop is going by in a non crowded area
Updates
+1 y
I chose best answer, but am open to more opinions... that's all they are, are opinions
Why is breast feeding in public legal but peeing in public (men), illegal?
Post Opinion