Two types of distinguished supercuspidal representations