When someone or some people creates a problem that he/they can solve to get praised by people who know not the plan from the onset.
The government banned motorcycle ride sharing so thousands of people are inconvenienced. A politician then cancels the ban under "his" efforts and get praised. He is said to have manufactured heroism.