They are the same thing; it’s really just a matter of naming conventions. “Chile” is the Spanish word for capsicums such as jalapeños, serranos, habañeros, poblanos, and so on. Americans sometimes spell it “chili” but now we are moving towards “chile” because “chili” is the stew with the meat.