The recent actions of the Polish government seem to become more and more chaotic.
I think a lot of is it a knee-jerk response to the falling popularity of the party in the polls. They had it easy for 2 years, but the opposition has woken up and are starting to land blow after blow, especially with the bonuses being handed out to everyone and everyone. Now they're trying to hand out money to everyone, but the middle classes are particularly unhappy with the idea. What worked once in 2015 isn't working in 2018, possibly because the centrist voters know that there's no room in the budget for further no-questions asked handouts.
On the contrary, he added fuel to the fire by declaring a necessity to increase tax for the more affluent people
That was quite possibly one of the worst moves that he could have made. If he had announced that bonuses would no longer be paid to workers in the public sector and in publicly owned companies, and that the considerable savings would be used to pay more benefits to severely disabled children and adults, it would have been fine. Instead, he's managed to upset the "rich" (who are usually not rich at all) and as you said, he added fuel to the fire.
PiS are also rapidly discovering that it's very difficult to buy voters in the long term, as they always want more and more.