The answer is scapegoating.
scapegoating refers to the act to save ourselves from responsibility/punishment by accusing someone else for the mistake that we do.
If this type of action is being done in the professional level, scapegoating could result in lawsuits that ended up in huge amount of fine, depending on the amount of damage that the scapegoating creates