You have to write a good score that you feel good about. At least, you're supposed to. But, if the director hates it, it ain't going to be in the movie! ↗
Man loves everything that satisfies his comfort. He hates everything that wants to draw him out of his acquired and secured position and that disturbs him. Thus he loves the house and hates art. ↗
Don't worry about what others say about your music. Pursue whatever you are hearing... but if everybody really hates your music maybe you could try some different approaches. ↗