why were they buying mazacoin right before they were supposed to have a pump?
Because that is how the pump and dump works, they buy the coins cheap well before the actual pump.
By the time they 'announce' the pump coin, they already have their sell orders stacked.
If you dont know what the coin is long
before the pump, then you are the one who is getting dumped on.