Tune Guitar

Hi Mike, I restrung my entire guitar on Friday, then my friend broke TWO strings an hour later tuning it. How is that even possible? Did I do a crap job on putting the new ones on or is he a moron? Thanks Cass