Your colleague and your boss is very unprofessional. Don't be like them, don't start playing childish games. Concentrate on your work , start looking for a new job, and leave.
Any attempt to change their behavior is in vain, you can't change someone's personality (or at least it's not your responsibility to do so).