Housing them together is likely the cause of your issue, for the health of your snakes and to prevent a reoccurance, separating them would be the safer thing to do. There's no advantage to housing together for the snakes.