Many times anime is simply made to promote the manga from which it is made. That's why some of them have a cliff hanger ending - Deadman Wonderland comes to mind. Then again as you said many romantic comedies have happy endings because it fits with the style of the show.
Personally I like the endings that leave you thinking, although a happy ending is nice sometimes too.





