It's mean to make fun of someone for being overweight.
Tom notices that his friend has put on a seriously unhealthy amount of weight.
Tom wants to discourage unhealthy eating habits.
Tom offers to go to the gym with his friend.
Tom mocks his friend for becoming so overweight.
Tom's friend feels support from him and takes him up on the offer.
Tom's friend feels discouraged and upset.