Banks Charging Non-members Fees to Cash Checks Drawn on Their Bank

I always thought a bank had to honor the cashing of a check if it was drawn on an account within that bank. I guess they still do, but some in my hometown are charging fees to the people I wrote the check out to if they don’t have an account at that bank. I think that’s utterly awful!