The PCR test multiplies viral debree. It then tries to peice it together to see if it could make up covid-19 like a jigsaw puzzle.
Unfortunately, every other cold virus has the same debree as covid-19, also other viruses, and even bacteria. So if you had bacteria (everyone does) or a cold in the last 2 years you will test positive.