のことが好きなんだ

like someone or something, I have romantic feelings for (someone).

→ の
phrase Rare #30,498
like someone or something Used to say that you like a person or thing; なんだ gives the statement a casual, explanatory tone.
JA: トムはメアリーのことが好きなんだ。
EN: Tom likes Mary.

人よりも猫のことが好きなんだ。

I like cats more than people.

トムはアリスよりメアリーのことが好きなんだ。

Tom likes Mary more than Alice.

トムは今でもメアリーのことが好きなんだ。

Tom still likes Mary.

自信はないけど、トムはメアリーのことが好きなんだと思う。

I'm not sure, but I think Tom likes Mary.

トムはメアリーのことが好きなんだ。

Tom likes Mary.

phrase Rare #45,602
I have romantic feelings for (someone). A casual, often emphatic way to tell someone you like them romantically.
JA: 君のことが好きなんだ。
EN: I have feelings for you.

「トムは、君のことが好きなんだ」「えっ?」

“Tom likes you.” “Huh?”

トムはメアリーのことが好きなんだけど、俺もそうなんだ。

Tom likes Mary, and so do I.

トムはまだ別れた奥さんのことが好きなんだね。

Tom still loves his ex-wife, doesn’t he?