why did my pleco die?

Welcome :)

You really need to give a bit more info to get some helpful suggestions. Start with tank size, inhabitants, readings for ammonia, nitrite and nitrate, any thing changed recently.
 
AquariaCentral.com