Is it rude to ask how someone died?

There’s a couple people I went to classes with who died so young and I’m really curious as to how but I don’t want to ask and be rude 😭

Is it rude to ask how someone died?
Post Opinion