The easy answer would be that you ate some soap. I am going to take it upon myself to think that you did not do that. It could be medicine that you are taking. It really could be that you are not rinsing your dishes off well enough as well.
The simple answer would be that you inadvertantly ingested soap during your shower or other washing activities. Smell is a large part of taste so if you smell something similar to soap you may be tasting the smell