Directors are supposed to have a good eye and an understanding of what the audience is looking for, as well as what they might not be looking for. Most of the time directors are capable of pulling this off, but sometimes one or two things stick out like a sore thumb and end up causing them a massive headache.
Either the director just didn't care, was totally oblivious to it or just felt that the audience's interpretation of it was just plain wrong.
To be fair though, sometimes it's just impossible for directors to notice these things, or they may even be related to a biased opinion of a critic reflecting on the life of a director.
But then again, there are also instances of directors having extreme views and not understanding why those views may be seen as offensive