baby suddenly spitting up more..

My son is almost 5 months. He started spitting up a couple days ago. Before this he pretty much never spit up. And now it's after every feed. What could be the cause? I started giving him solids at 4 months but he didn't start spitting up until a couple days ago so I don't think that's the reason.