If he has a girlfriend why did he ask if I would like to do it with me?

Updates
+1 y
He said "WHAT IF we have sex" with an emphasis on What if and that doesn't mean he has to. Is that guy still loyal to his girlfriend?
If he has a girlfriend why did he ask if I would like to do it with me?
Post Opinion