As well as the 'missing fundamental' I linked to in another comment in this thread.
If you pick some Jazz piece apart it isn't rare at all to come across a chord that sounds absolutely awful. But then you play the piece as intended and it all makes sense within the larger context of the notes/chords/intervals around that chord. This never ceases to surprise me.