In DB view, there is a business rule available which removes the automatic soft credit from the surviving spouse when a constituent is marked as deceased. This is not available in web view, so constituents marked as deceased in web view still receive an automatic soft credit when their surviving spouse gives a gift.