This is because he wanted it to look like they killed Duncan (The King), if they were alive and people found out it wasn't them, the suspicions would start to go around and inquiries were happening. Macbeth didn't want to make it obvious so he said he killed them out of "rage" over their actions.