The "silent treatment" is when someone deliberately hurts you by withdrawing from you and refusing to speak or interact with you. They basically ignore you and freeze you out.
Someone may choose to give "the silent treatment" if upset. It can either be not speaking to a specific person or limiting conversation with one word answers
The silent treatment is when someone chooses to completely ignore someone else, including refusing to speak to them or acknowledge them when they speak.