The phrase "ice her out" in the sentence "We knew we were being mean to her but it was easier to ice her out" is an example of a metaphor. It compares the act of excluding someone to the physical process of freezing something out, suggesting that the exclusion was cold and heartless.