A “shooting star” in Spanish is an estrella fugaz. Since estrella means “star”, then fugaz is the parallel to “shooting.”
Fugaz comes from the Latin fugere which means, “to run away; flee” — from which we get the English fugitive.
The mapping is obvious with the f‑g retained in both versions.
Thus, in Spanish, a shooting star is literally, a fleeing star. But fleeing from what?