It's just something that's very subtle to the point where you don't even think twice about it.
Green tends to represent "go", "right", or "good", while red represents "stop", "wrong" or "bad". A green checkmark means success, while a red X means failure. How did this come to be? When was the first time that red and green were used as such?
hi! more input is welcome on this, but meanwhile, you can get started on some bits of info in these related posts
How did we come to choose green, yellow and red as the standard colors for traffic lights?
When did the color red start meaning stop and the color green start meaning go?