Hi! thanks a lot for your feedback :) it's actually coded that way because I feared it would feel frustrating for the player to get damaged by the bomb while in combat. But I agree, it feels like a bug.
Hope you had fun!