Yes, "to pop out" can be transitive. This means that "were popped out" can be taken as "to be" plus past participle as adjective, OR passive voice (appologies to CB). This makes your first example more dramatic than your second.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.