Evolution mostly.
We came from primates.
We are predator more than prey so we have forward facing eyes.
We see color because color gives us an advantage when gathering or scavenging. Bright colored things can be poisonous but some fruits are better when brightly colored.
Our eyes dilate when dark so we can see in the dark and narrow so we can see in daylight. Humans are naturally marathon runners. Humans can actually outrun every animal on the planet because nothing else has our stamina. We could outrun cheetah or horses if chasing them assuming we can keep track of where they went. So seeing day and night was a huge advantage.
Since it’s evolution, generally if it didn’t have a negative it was passed on. Colorblindness is a negative today, but it could have made hunting easier and thus stays in the gene pool.
Latest Answers