In the yom kippur musaf my community recited a poem going through the whole story of the deaths of the "asara harugai malchus" the ten martyrs. It is a "חטאנו" poem recited before the confession section.
Why on yom kippur do we mourn their deaths, seemingly it has no specific connection to yom kippur? We should mourn their deaths on tisha b'av?