が聞こえてきた

could hear ... coming

→ が
phrase Rare #30,513
could hear ... coming Used when a sound begins to be heard or reaches the speaker from somewhere. The が marks the sound being heard, and 聞こえてきた is the past form of 聞こえてくる.
JA: 外から音楽が聞こえてきた。
EN: I could hear music coming from outside.

あなたの歌声が聞こえてきた

I could hear you singing.

怪我をした人のうめき声が聞こえてきた

I could hear the groans of someone who had been injured.

そこから変ないびきが聞こえてきたのよ

That’s where the strange snoring was coming from.

— サスペリア (1977)

彼女の歌声が聞こえてきた

I heard her singing.

遠くにあるサイレンの音が聞こえてきた

I could hear the sound of a siren in the distance.

上の部屋から変な物音が聞こえてきた

I heard a strange noise coming from the room upstairs.