And it is okay if the raised voice still hurt you. Being understanding does not mean pretending it did not affect your heart.
Sometimes anger comes out badly when someone feels unheard, hurt, stressed, or emotionally flooded. That explains behavior, but it should not become an excuse to repeat harmful patterns.