Once again @Marine91 was thinking the exact things I was. Perhaps a bug bite or a muscle got pulled. I think you said he lay on his side, right? So if he's laying on his side it can't be too bad if he only reacts that way when you go to touch him....does that make sense?
Good luck and keep us posted, please.