"The Chemical Origin Theory" posits that life is native to planets and evolved from inorganic matter. It divides the origin of life into four stages: first, the stage of generating organic molecules from inorganic molecules; second, the stage of generating large biological molecules from organic molecules; third, composing a multi-molecular system from large biological molecules; and fourth, the organic multi-molecular system evolving into primitive life.
One of the most crucial elements is self-replicating genetic material, which for now, among different planets, is just DNA and RNA. Perhaps humans are too insular, having not experienced enough planets, or maybe this is just a cosmic fact.
Some might find it astonishing that different planets would possess materials with the same structure. For a better explanation, there is a very famous mathematical game called "Life Game."