As of what appears to be EngulfingDarkness-1.19.2-1.2.jar, when a player takes damage from another mob or player and is then quickly killed by darkness, the death message is displayed as "death.attack.engulfingDarkness.player", indicating the nonexistence of an English translation for the string in the mod's en_us.json lang file.
This could be solved by adding in the following line:
"death.attack.engulfingDarkness.player": "%1$s could not reach the light because of %2$s",
See: https://youtu.be/E-lrjXLlbAM?t=496