E is the best here but it uses 'for' two times
X criticized Y for firstly failing ....
second for failing ...
X criticized Y for firstly failing ....
second for failing ...