Because you are a lonely, single, virgin who will never get laid. You know it too so you trick yourself into thinking sex is dirty as a coping mechanism. You convince yourself the reason you don't want to have sex is because it is dirty, rather than admitting the truth