Paint will need a cure time to either catalyze or outgass its solvent carriers.
If you apply foam or covering fabric too soon, it will adhere using the paint as a glue.
Two part paints need a week, as a rule. Aerosol spray cans need a month to harden.
Cheers,