Protecting buffers that were visible in other windows (burying them instead) is not the responsibility of doom-kill-buffer. This is a job for kill-buffer-query-functions, hence doom|protect-visible-buffers.