どういうことだ

what's going on?

→ どういう
phrase Uncommon #9,928
what's going on? Also used to ask what something means or how it could have happened. The ending だ is plain and direct; です is a more polite alternative.
JA: こんなところに鍵があるなんて、どういうことだ?
EN: What’s going on? How did a key end up here?

どういうことだ?

What do you mean?

— ムーラン・ルージュ (2001)

どういうことだ?

What do you mean?

— パンズ・ラビリンス (2006)

これは一体どういうことだ

What on earth is going on?

— インディ・ジョーンズ/最後の聖戦 (1989)

チップは出さないとどういうことだ?

What do you mean, you’re not leaving a tip?

— レザボア・ドッグス (1992)

どういうことだあ?

What do you mean?

— Love Letter (1995)

どういうことだ そりゃ

What the heck is that supposed to mean?

— High and Low (1963)

ええと…だってどういうことだ

Um... what do you mean, "because"?

— オープン・ユア・アイズ (1997)

ナウシカ これはどういうことだ

Nausicaä, what is the meaning of this?

— 風の谷のナウシカ (1984)

こりゃ どういうことだ

What the heck is going on here?

— High and Low (1963)

あの子の力は…どういうことだ?

That kid's power... what does it mean?

— AKIRA (1988)

ラジュー逃すとはどういうことだ?

What do you mean, letting Raj get away?

— RRR (2022)

どういうことだ

What do you mean?

— インディ・ジョーンズ/最後の聖戦 (1989)

パブロ 見てあの取り憑かれた少女どういうことだ?

Pablo, look—what’s going on with that possessed girl?

— REC / レック (2007)