When I click “Apply,” two files appear.

When I click “Apply,” two files appear. Is the first one creating a new file, and the second one modifying the existing code? I can’t select both at the same time. I want to understand their significance.