They were judged as both being to blame, but more on Hamilton's side. The penalty was in line with this.
They collided because neither yielded. it's indisputable that on many occasions other drivers have avoided collisions with Max.
As I said earlier, it's the rules and their application that are both ambiguous and inconsistently applied**. Needs sorting.
**No penalty for Max in Brazil? C'mon!