The mood after 'perché' determines its meaning: indicativo = cause ('because'); congiuntivo = purpose ('so that'). This is a fundamental B1 distinction.
Proposizioni Causali — perché cause vs purpose (3)1 / 10
Completa: correctly: 'Si è scusato perché _____ (sbagliare).'