positive ovulation tests and pregnancy tests

why do you get positive ovulation tests while you’re pregnant?