The main theme of the movie "The Third Man" sounds weird to me! The movie is dark and full of mystery, but the theme is something funny and happy!

What's the reason behind this apparently intended contrast?