Ask for trouble has 2 different meanings across 1 category:
Verb
persist with actions or an attitude despite the probability that it will cause trouble
"He is asking for trouble with his behavior"
To behave in a way that is likely to cause problems.