Why can't I say “she died from drinking 18 cans of Coca-Cola”? Instead, the correct sentence would be “she died of drinking 18 cans of Coca-Cola”. Why does that happen?
Die is a verb which is followed by some appropriate prepositions
Die of diseases and old age and bad habits.
Die from wounds and injuriries.
Die in an accident
Die for a great cause or for the country
So in the sentence :
she died of drinking 18 cans of coco-cola is correct.
Here is the link which helps you.