It is a gentle bonk, a friendly warning to not do that. Bans and warns are the only feedback users can directly receive. It's not just a ban, it's a corrective measure. It's the naughty step, think about what you've posted, and come back in time to finish your dinner.
Users who repeatedly perform the SAME off-topic bullshit can be treated differently, as they might fall into spamming.