I think it can also come from the misinterpretation or abuse of the idea of freedom, that they can hurt others or themselves just because they are able to choose to do so, especially if their actions result in the freedom they abused being lost or the freedom of others being lost (getting addicted to something, going to prison, physically getting injured, dying obviously, endangering others or themselves, being in online spaces that can result in the listed before happening (also counts as endangering), etc.).