Two possibilities:
1. You don't have them set to "Keep in Dock"
2. You accidentally drag them off the Dock without noticing it happening.
For the first one, apps will show up in the Dock when running. To keep them there, right click and go to Options> and select "Keep in Dock". You might already know this, but just in case...