Be the matter

To be unsatisfactory, to be improper, to be wrong.

I do not know what’s the matter with my boyfriend. He is being strange recently.