Finn found one of Tom’s Spell books and accidentally cast a shrink spell on Tom. That’s pretty much the gist of what happened…
Tom is latching on to Kim because he can.
Colour palette for Tom and Kim belong to fuckyeah-kasumisty: link
Tomas and Kimberly belong to Sang Lee.