Unfortunately there are several things that might have caused it, but lethargy is a symptom common to many illnesses. The fins look clamped, which is another sign of illness, often of ammonia exposure or nitrite exposure. There is really no way now to know what killed this fish, but make sure the water parameters are good, with no ammonia or nitrites.