Hi, Kavya! Welcome to the forums!
First, the three words you mentioned (jalapenos, mojitos, and Jose) are of Spanish/Hispanic origin. The letter 'j' in Spanish when spoken sounds like an English 'h'. Non-Spanish words such as jasmine, jewelry, and junk have a hard 'j' sound.
Second, I have a strong suspicion that the grocery store you visited was located in a region where green chiles are not a frequent menu item or an item that is served at home. Thus, the attendant was baffled by your request. Green chiles are commonly used in the American southwest and in regions that have a significant Hispanic population.
I'm curious, in what city were you visiting when your request was made to the attendant?
Student or Learner