Here's a little explanation
1. At this time, Gohan is around 12, and cell is technically a few years old, but not far from him
2. Cell tried to destroy the planet, and tried to kill Gohan
3. Cell is technically the reason why Goku, Gohans father, died
4. Cell has some of Goku's and Gohans DNA, which would technically be considered as incest