Sometimes they will do this when there is a neurological problem, but if there is no high pitched crying and he is meeting developmental milestones, he is probably just doing it as a signal that he is done eating or wants attention or a change in position. This is also typical behavior when they are trying to learn how to turn over.
Let me know if you need further information. Please remember to click the accept button if this information is helpful. Thanks. JeanRN