Also.. no phone conversation. No clarifying question. Nothing. Just one email saying they can't go higher. The second email a couple of hours later saying they have to go with someone else.
Know how to close. Your friend allowed this to happen. There is nothing unethical or abnormal about the circumstances described.
There is no need to post anything beyond your question. Perhaps people will learn from the experience.
Apparently your friend didn't think it was a great offer, so there is no reason to be sad, or otherwise.
Negotiating typically doesn't need to be cloak and dagger and being earnest builds trust and rapport. You can take a position and continue to negotiate. Even more so if you are asking them to match or get closer to your current comp. She left it open for retraction for hours.