Quark mass difference and the origin of charge symmetry breaking