"Why are you in the bathroom?"
Translation:Perché sei in bagno?
I have friends and family in Italy, and I believe from those experiences, that gabinetto is used in less "formal" speech such as with family at home. Bagno is one step up, and the use of the French "toilette" shoes how classy and polite you are. So gabinetto IS correct, even though duolingo days no.