He had pneumonia and if you read up on how the Joker role really affected his sleep, it wouldn’t be a total surprise if he slightly overdid and mixed some meds and died as a result.
Very sad, regardless of whether it represented an emotional/substance issue or if it was just an accident with medication.