Not every password matters equally
Most accounts only need to be cancelled or closed after a death. That often does not require a password. A few passwords do matter, because they open the door to the rest.
Think of the PIN of your phone, the password of your computer and access to your main email address. Through that email address, many other accounts can be recovered or cancelled. Photos and videos in the cloud are often precious to your loved ones too.