This resistance to self-ignition is the basis for your octane rating.
Ethanol naturally has a higher resistance to self-ignition than gasoline.