Just admit you are the US 'friend'.
The reasons your friend in Madagascar was denied are already listed in this thread, no point going over it again. She was rightly denied.
The solution here is so easy, go and visit her instead, like you should have done in the first place instead of getting her to apply for a B2.