Many of Z490-I owners are having a hard freezing issue as well whlie XMP is enabled. None of us have a definitive fix yet but I think setting VCCIO and SA voltages manually (and corresponding boot voltages) to 1.1V helped a little for me at least. Could you try manually setting those voltages I mentioned?
I don't know the root cause of your problem but considering it's the same platform it might help.
Sorry for asking basic questions but have you tried a different ram kit? Is the one you already have listed on QVL of Asus?