Glitches are by accident, aren't usually as gamebreaking as hacks, and anyone can do/find them. Hack are on purpose and are made specifically for that one person (or group of people) who knows how to do it to illegitimately give them an unfair advantage.
I hope this helps.