After Angelo thinks he has attained the object of his desire, he covers his tracks by ordering the execution of Claudio after all.
After Angelo believes he has achieved his goal, he conceals his evidence by ordering Claudio's murder instead.