One time as I crossed the border into Italy I asked the customs agent "Parla, Inglese?" when of course I should have asked, "Parla, Inglese?" In that case, it's a matter of inflection, the accentuation, the intonation is all-important. I thought I was being friendly, he thought I was rude and demanding and he quite dressed me down in some choice Italian as I just kind of stood there.
You have the same thing in English as well. "We're going to the beach", "Great", say the kids.
Kid breaks grandmother's antique vase, "Great", says Granny meaning the opposite of great of course. :D