To be a wee bit more technical, the EF-S lenses protude further back into the camera body so that the rear element is actually closer to the sensor. Aps-c cameras have a smaller sensor and therefor a smaller mirror to flip up. Full frame cameras have a larger mirror and this will hit the rear element of an EF-S lens but not an EF as this has more clearance.