Is it wrong for me to do this?

Im mexican and i was talking to another dude in Spanish and my non Spanish speaking boyfriend got mad because he couldn’t understand what we were saying. So was I bad for doing so?
Is it wrong for me to do this?
Post Opinion