When they transplant a heart, they cut the nerves. The pains must have been caused by his heart hitting the chest wall.