The .csv file is not a regular Windows file, it's possibly from a Linux system, or similar.
The difference is:
The line breaks in a Windows text file contain 2 characters: CR (carriage return) and LF (line feed).
The non-working .csv file contains only CR, the LF is missing.
Working:

Non-working:
