Why would an ex keep blocking and unblocking me on social media?

He was the one who initiated the breakup approx 4 months ago. We didn't have a bad breakup but he purposely did some hurtful things after the breakup. I respected his wishes and never contacted him. Two weeks after the breakup he blocks me on social media but 30 min later unblocks me. Four months have passed and I just realized he blocked me again this morning. I did not attempt to stalk, text, call or talk to him since the breakup and do not understand this behavior.

Why would an ex keep blocking and unblocking me on social media?
Post Opinion