ことがあるんだ

sometimes

→ こと
phrase Common #7,648
sometimes Depending on what comes before it, this can also mean “there is something...” or, after a past-tense verb, “have done ... before.” The ending んだ adds an explanatory tone.
JA: 時々、映画を見たくなることがあるんだ。
EN: Sometimes I feel like watching a movie.

記憶力は乏しいんだけど、決して忘れられないことがあるんだ。

I have a poor memory, but there are some things I could never forget.

言い忘れてたことがあるんだ。

There’s something I forgot to tell you.

トムと話し合いたいことがあるんだ。

There’s something I want to discuss with Tom.

ユダヤ人なんかよりもっと心配なことがあるんだよ

I've got more pressing things to worry about than Jews.

— ジョジョ・ラビット (2019)

「ねえ、君に聞きたいことがあるんだ…答えてくれるまで街を離れないよ!」

Hey, there's something I want to ask you... I won't leave town until you answer me!

— アトランティス 失われた帝国 (2001)

お前にずっと聞きたかったことがあるんだよ。

There’s something I’ve been wanting to ask you for a long time.

どこの家庭も人に知られたくないことがあるんだよ。

Every family has things they don't want others to know about.

時々寂しくなることがあるんだ。

Sometimes I get lonely.

この犬は臆病だから怯えて噛まないことがあるんだ

This dog is timid, so when it gets scared, it sometimes doesn’t bite.

— 動くな、死ね、甦れ! (1990)

ときどき世界が無意味に見えることがあるんだ。

Sometimes the world seems meaningless.

本庄にもやってもらうことがあるんだ

I have something I need Honjo to do, too.

— The Wind Rises (2013)

トムは前に何度もやったことがあるんだ。

Tom has done this many times before.

何かつらいことがあるんだぜ

Something’s weighing on you, huh?

— 七人の侍 (1954)

私ね、ずっと隠してたことがあるんだ。

You know, there's something I've been hiding all this time.