Z was bullied in middle school. Z determined to become more powerful in order to not be bullied anymore. In high school, Z had much more power than his/her peers so he/she abused it.
This is a case of ....
reactive bullying
cyberbullying
verbal bullying
relational bullying
physical bullying