I mean, if you want to burn a bridge you can do so. Sometimes it's warranted. However, if you have a good relationship with your manager then it's absolutely ideal to tell it to their face (or with a 1 on 1 call). It's not about guts it's about mutual respect. Likewise for layoffs.