Please tell me what is subject or object.
''What is the matter with you?''
The subject of the question is "what."
The verb is "is."
The subject complement is the noun phrase "the matter with you."
"You" is the object of the preposition "with."