If a creature with an ability that triggers when that creature dies or leaves the battlefield loses that ability and is then destroyed, that ability will not trigger. Those types of triggers need to exist on the battlefield in order to work. Any abilities that trigger when a creature card is "put into the graveyard from anywhere" would still trigger, because those abilities function from the graveyard, where the card is a new object that still has the ability.