prime number have only two factors why
We know that the prime numbers are those numbers which have only two factors , one is the number itself and the other is 1.
So, if any number is Prime, then it is obvious from the definition that it must have only two factors.