OK I found the problem! The question got asked twice and the one you answered got hidden. Here is your answer from there if you want to post it on the new question:
The thing is, Torchic can't actually get Thunderpunch as an egg move. You must instead evolve it into Blazikin, and have a move tutor teach it. But since you seem confused about breeding, I'll explain what would happen IF Torchic had Thunderpunch as an egg move.
Torchic cannot actually learn Thunderpunch via breeding. This is just what would happen if it could, to assist you in future breeding projects.
Here's what would happen: First, the egg would automatically know Scratch and Growl, those being the LV 1 moves. Next, any LV up moves known by the father AND the mother would be added to the egg's move list. Since Blazikin and Ampharos don't learn any of the same LV up moves, the egg still has only two moves. Now, your Ampharos has Thunderpunch, learnt via move tutor. The Torchic would end up knowing Thunderpunch, Scratch, and Growl. Now, if the Ampharos father also knows any egg moves of its own, those would be passed down(if there were two egg moves instead of one, either Scratch or Growl would be overwritten, to make room).