例例文
“What's the matter? You haven't eaten anything.” “I have a stomachache.”
「どうしたの?何も食べてないね」「お腹が痛いんだ」
EN英英で言うと
used to ask someone what is wrong
源語源・イメージ

matter は「困ったこと・問題」。
!入試ポイント
What's the matter with ~?(~はどうしたの)と with を伴う形が頻出。What's wrong with ~? も同じ。
様子がおかしい・具合が悪そうな相手に「どうしたの?」と聞く。What's the matter with your leg?(足をどうしたの?)のように with で部分を示す。答えは I have a headache. など。What's wrong (with ~)? と同じ。言い方次第で「何なの?」と非難にもなる。
同じ意味What's wrong?
VSここが違う!
What's the matter (with you)?vsIt doesn't matter.
It doesn't matter. の matter は動詞で「重要である」→「どうでもいい・問題ない」。What's the matter? の matter は名詞で「困ったこと」。見分け方:the が付けば名詞。
What's the matter? You look sad. / It doesn't matter to me.
覚覚え方
the matter は「困ったこと・問題」。「(あなたに関して)何が問題なの?」。with は「~に関して」で、What's wrong with ~? / Something is wrong with ~ と同じ with。
Q入試形式の例題
A: What's the matter your arm? B: I hurt it playing basketball.
What's the matter with ~? で「~はどうしたの?」と具合の悪い部分を with で示す。to / for / on はこの表現では使わない。What's wrong with ~? / Something is wrong with ~ も同じ with。