I've seen this only once, and it was with closed cell foam, but I've heard of it happening with open cell foam, too. I don't know the details, but I've heard it could result from a bad batch of chemicals, improper mixing, or too high a temperature. Whatever the cause, it's not a good thing. The photo below shows how the spray foam pulled away from the studs. A little bit of uninsulated area like that adds up to a lot of heat loss/gain when the whole house has that problem, as it did here.
That’s $58.3 Billion dollars. That’s roughly how much money we wasted in 2010 in the US according to the Department of Energy because of air leaking out of our building envelopes. If your building leaks energy, you’re paying more for energy than you need to. Clearly you’re not alone. If you’re ready to claim your share of the savings, it’s quicker and easier than you think.