HI Lucy!
Yes, saying "fat" to another person will make them feel bad, referring to a person's physical appearance is not an acceptable topic unless it is positive/good. And if you are trying to say a good thing, then you have to use positive words and good words as well.
Now a days some may consider it body shaming. so you have to be careful with how you choose your words because you may not mean it that way, but the impression that you have conveyed is negative.
[Today, I was chatting with a foreign friend. As soon as we met, he sent me pictures of him. He looked a little fat. I told him that he didn't seem very happy, but I didn't want to scold her. I thought he was cute.]
You may say:
Today, I was having a conversation with a friend. He sent me pictures right after I met him. I thought he looked a little bit fat. When I told him that, he didn't seem to be happy. I didn't really mean to offend him because I thought he was cute.
OR
You may say:
Today, I was having a conversation with a friend. He sent me pictures right after I met him. And my initial reaction is, I thought he looked a little bit fat. When I told him that, he didn't seem to be happy. I didn't really mean to offend him because I thought he was cute.
Take note of this phrase/use of vocabulary:
I didn't want to scold him... : I didn't really mean to offend him...
You may add:
" my initial reaction is..."
Avoid the use of "foreign" if you are talking to people coming from different countries, you may use specific place where he came from: (Ex: American friend/ Australian friend/ Indonesian friend) though not advisable in the sentence you have made. But for english usage, this is the proper way to refer to a foreign friend when explaining.