Here's why:
* Bonjour is a formal greeting used at any time of day.
* Salut is a more informal greeting, like "hello" or "hey".
* Coucou is a very informal greeting, like "hey there" or "hi there".
So, "Bonjour" is the best option for a general greeting, especially if you're unsure of the situation or the person you're talking to.