It criticised both Hamas and Israel over the Gaza conflict at the end of last year , accusing Hamas of targeting civilians in its rocket attacks on Israel while describing the Israeli military action as " disproportionate . "