We stop cooking the spaghetti a minute early because it will finish cooking in the oven. If the pasta is fully cooked when it goes into the oven, it may become chewy or slightly mushy by being overcooked.