The resignation comes amid growing signs of strain in the political alliance between President Prabowo Subianto and former President Joko Widodo.