Why can macOS have two files with same name?
Solution 1:
You cannot have two files with the same name in the same folder.
If you look closely at the "Get Info" screenshots you've posted - there seems to be a much larger gap between the filename and "Info" on the left-most screenshot compared to the right-most screenshot.
This seems to indicate that you've probably have a space at the end of the name of one of the files. You can just rename the file in Finder to give it a separate name and remove the space.