Can foam boards cause a chemical reaction?
...foam panels as they off-gas. There are better foams that don't off-gas, like EPS foam (that is often mistakenly called styrofoam, just to confuse things) and non-toxic alternatives to foam - specifically mineral wool insulation - read more here:
The difference between Polyiso, EPS & XPS Foam Insulation & Styrof...