The truth is that shooting stars are used to stone the jinns (devils) who go to eavesdrop in the heavens, in order to hear news of the unseen.
The Quran says in the Quran in Chapter 15 Surah Hijr verse 16-18:
Shooting stars are like missiles for Jins