Amaterasu is powerful. Sasuke just had to secretly, when Kaguya was busy with Naruto, cast it on her. She would have burned to hell. But why didn't Sasuke use Amaterasu on Kaguya?