Guar gum acts as a stabilizer and thickener. I have tested cans of coconut milk that do not have guar gum, and the frosting did not turn out.