Foam, synthetic latex, flame retardants and vinyl are all made from petroleum products and will eventually start to off-gas chemicals like toluene, styrene and butadiene. They’re all pretty common because they’re inexpensive, and a mattress that contains a lot of foam will also be drenched in flame retardant — since foam is very flammable on its own.