I prefer to think about it as there are three special types of numbers: zero, units (invertible elements), and prime numbers, which exclude zero and units. In the integers, the units are +/-1, so that’s why they are not prime. In the rationals, every non-zero element is a unit, which is why there are no prime numbers in the rationals.