Thargoids make their territory inside nebulas. Noone knows why. It could be the planets inside them are more favorable for them technologically or biologically than planets outside of them. Granted not every nebula has them just a few in our corner of the galaxy.