Vomiting white foam can also be caused by illnesses of the digestive tract that need further treatment. Illnesses that can cause vomiting include hepatitis, pancreatitis, diabetes, and kidney disease. If the vomiting persists a few days, even with a bland diet, consult your veterinarian.
Bake the squash for 40-45 minutes. Bake it until it's tender. After 35 minutes, start poking it with a fork to check to see how tender it is. Then, remove the squash from the oven.
Preheat the oven to 450 degrees F. Split the squashes in half and scrape out seeds. Line an oven tray with aluminum foil. Season the spaghetti squash with olive oil, salt, and pepper. Place flesh side down and roast for 30 to 40 minutes until fully cooked. Remove from the oven and let rest until cool enough to handle.