Wa alaykum as-salam
Please find the answer to your question within these answers:
https://seekersguidance.org/answers/islamic-belief/why-and-how-do-we-believe-in-angels/
https://seekersguidance.org/answers/islamic-belief/angels-urges-sin/
Please find the answer to your question within these answers:
https://seekersguidance.org/answers/islamic-belief/why-and-how-do-we-believe-in-angels/
https://seekersguidance.org/answers/islamic-belief/angels-urges-sin/