He was blessed with the Bearing and Siring Gene that were from both his mother and father. Turning out that Lily Evans was not a Muggleborn in any sense. She had been adopted out to protect her by her birth parent because they didn’t want the other parent to know.