I completely understand your confusion. It would probably be confusing for Arabic speakers as well, but both these names are written the same way in Arabic. Here is a native Arabic dictionary that directly states this:
https://www.almaany.com/ar/dict/ar-ar/ملك/ (look at the tashkeel forms مَلَك (5) and مَلِك (6) for Malak and Malik respectively)
This message was edited 1/13/2025, 9:16 AM