The charge of neutrons and protons depends upon what quarks they are made from. In neutrons the charges of the quarks cancel out – so they have a zero overall charge.
In protons, there is extra positive charge, so protons are positively charged.
Electrons are elementary particles that have a negative charge – I don’t think that we have an explanation for why – they just do.
Comments