While they are often used interchangeably, it is not uncommon for people to make the distinction between jail and prison in the US.
It can definitely come across as a “Frankenstein’s monster” type of pedantic correction, but they truly do mean two different ideas in the US