Saying hello can spark a new friendship, so you are encouraged to say hello, but saying goodbye is hard because you know you're putting an end to that relationship and it tends to be hard to end things...
Because saying hello is so easy. You act on your curiosity and open a door to something brand new to you. Saying goodbye is so hard because you remember opening that door, and every moment you've spent with that person after that.