Welcome to YorkieTalk.

Ice cream has sugar in it. He probably had too much sugar in his small body.
I understand people enjoy giving these kinds of treats to their dogs, but why risk it, especially on a 4 month old Yorkie?
For every morsel of food that you give your pup, stop and ask: am I treating him or harming him? Am I doing this for his enjoyment or mine?