Spray foam insulation or spray polyurethane foam (SPF) is an alternative to traditional building insulation such as fiberglass. A two-component mixture composed of isocyanate and polyol resin comes together at the tip of a gun, and forms an expanding foam that is sprayed onto roof tiles, concrete slabs, into wall cavities, or through holes drilled in into a cavity of a finished wall. https://youtube.com/embed/ggLAUsiuI_o

For maximum durability and leak resistance, we recommend that two coats of topcoat be applied at 100 sq. ft. per gallon, or a minimum of 20 mils dry coating. If two complete topcoats are not applied, always apply two thick coats to problem areas such as scuppers, drain areas, ponding areas, seams, and repaired areas. Avoid using Elastek Solar Magic™ or The Shield™ on ponding roofs. Clean skin and tools promptly with water.
If your foam pulled away just a little bit, Jamie, and they were able to fix it with just a little bit of touching up, then it wasn't as bad as the house where I saw this problem. As the last photo above shows, it had pulled away significantly from the studs and rafters, and it was all over the house. This was closed cell foam, and interestingly, it didn't pull away from the horizontal framing members, just the vertical and sloped ones. They did some touch up, but that wasn't enough. I don't know how this one ended up getting resolved. I think maybe the contractor came back and sprayed cellulose on top of the foam.

Roof Coating Denver Colorado