These are both allophones of [[visarga]]: upadhmaniya occurs before "p" and "ph", jihvamuliya before "k" and "kh".