が消えて

go out; stop shining (of a light, fire, or screen), disappear; be gone

→ が
phrase Rare #36,610
go out; stop shining (of a light, fire, or screen) が marks what goes out. 消えて is the te-form of 消える and can link this event to what follows.
JA: ランプが消えてあたりは暗闇となった。
EN: The lamp went out, and the area fell into darkness.

ランプが消えてあたりは暗闇となった。

The lamp went out, and everything around us was plunged into darkness.

まあランプが消えてしまったのね

Oh, the lamp has gone out.

— 鏡 (1975)

灯りが消えている。

The light is off.

部屋の電気が消えてしまいました。

The room light went out.

お返しに何か教えてくれなぜ赤が消えて緑がついた?

Teach me something in return. Why did the red disappear and the green appear?

— プラットフォーム (2019)

phrase Rare #42,199
disappear; be gone Marks something as becoming no longer visible or no longer present.
JA: 私の車が消えていた。
EN: My car had disappeared.

古いものが消えて行く

Old things are gradually disappearing.

— ロード・オブ・ザ・リング (2001)

私の車が消えていた。

My car was gone.

レコード屋が消えて何をした?

The record store disappeared. What did you do?

— Good Luck, Have Fun, Don't Die (2026)

金庫の中の書類が消えてなくなっている。

The documents in the safe have disappeared.