stirring up an ants nest

Stirring up an ants nest is an idiom most commonly used for someone who seems to be intentionally causing trouble, even while knowing the consequences. Anyone who stirs up an ants nest knows that when they interrupt this nest all of the ants will come and it causes a lot of trouble. Therefore, the phrase refers to someone entirely aware of what will happen but they choose to do it anyway.