There are genes associated with intelligence, they are what makes humans so much more dangerous than any other creature on earth, and octopi so much more interesting than fish.
More to your point, there are some intelligence genes that some people have and other people don't. They don't solely determine IQ, it's a complex interaction of environment, diet, education, personality, etc., but that's not to say they don't exist.