You're fapping over the idea of sex, over the act of sex, to fulfill your own desires. If you could, you would fuck your girlfriend rather than watching porn, but it's not possible so you try to seek a relieve of your sexual frustration by fapping, by thinking/viewing the idea of sex which makes you sexually aroused.
No it's not cheating and you're looking at it wrongly.