These commit-xxxxx files are not generated in Cursor by default, but are usually created by 3rd party Git extensions, like GitHub Pull Requests or GitLens.
When you review a PR, open a file at a past commit, or enter “Review Mode,” the extension shows each file as it existed at each commit using a virtual filesystem. As these are treated as separate documents, you see many copies (one per commit) in Problems.
It depends on which extension is causing these issues to know how to resolve them: