Initiative is used to figure out the order of stuff. So, you only need to roll initiative when the order matters.
If a hidden elf is watching an unaware goblin, then snipes the lone goblin with an arrow from 100' away, killing the goblin instantly, there is no need to roll initiative.
So...