Unfortunately tylenol and motrin can be hard on the stomach as well. I wonder what would happen if you gave him a break from it?
It could be some kind of virus he picked up - babies are famous for having upset tummies simply because of the hands touching everything and putting everything in their mouths.