When/where are you looking at? Depending on the when and the where, there might not be any consistent recording of cause of death. The further back you get the less likely it is.
England/Wales death records from the start of civil registration should have cause of death, whereas the French records never have it on.
I have sometimes seen older parish records in England list cause of death, for example where there was a cholera epidemic marking all the cholera deaths, but in most causes it wasn't necessary.