ask for it vs ask for trouble

ask for it

verb
  • To provoke an unwanted action. 

  • Used other than figuratively or idiomatically: see ask for, it. 

ask for trouble

verb
  • To behave in a way that is likely to cause problems. 

How often have the words ask for it and ask for trouble occurred in a corpus of books? (source: Google Ngram Viewer )