In the past. It wasn't just this one comment. He's one of those comedians that "punches down" and often at black women. In regards to Jada, he's been overly snarky about their open marriage which is no one's business. There's been this low key constant antagonizing of the Smith family since around 2016.
So, history. It wasn't just what happened on Oscar night.