When you want to laugh at something but it's not appropriate for the situation.
Pete: dude my grandmother died Bob: bro I'm so sorry how Pete: she got hit by a fire truck Bob: (lol) Pete: i know it's so funny