The origin of variations in the 2175 A extinction bump