in the end that headmaster is part of atsushi's imagination, he's not the real one. so him helping atsushi, apologizing to him, is more about what kind of person atsushi is and not what kind of person the headmaster was
also akutagawa acting like a jilted lover lmaaaooooo. "dazai-san's new boy"