Why is it scientifically sound to infer that planets exist in the Andromeda Galaxy?

Answer

The laws of physics and chemistry are consistent throughout the universe

Because the laws of physics and chemistry apply universally, there is no reason to assume that star formation in other galaxies occurs through different mechanisms than those observed in the Milky Way. Since star formation consistently leads to the creation of planetary systems, it is a near-certainty that the trillions of stars in Andromeda host their own planetary bodies.

Why is it scientifically sound to infer that planets exist in the Andromeda Galaxy?
Andromedagalaxyplanet