The icons on the documents created with these programs appear to be stable; that is, they have not changed. The icon on 'writer.exe' changed again, to the same one I assigned to one of the documents I created with writer. I don't know precisely when it happened as the tabbed dock is hidden except when I mouse over it. I will try to pay attention to when this happens and see if I can figure that out. If I do, I will post a follow-up.
I actually have more than four icons for more than four files. There are the two programs, writer.exe and calc.exe, which (like most Windows programs) have icons built in. And there are the icons I have assigned to a number of files I regularly use; they were created as visual cues to help me find those files quickly.
When the icon changes, if I click 'Change this Icon / Shortcut' on the program, I then see the 'Dock Icon Properties' dialog with the incorrect icon shown in the lowest part of that (below a horizontal line). If I click the 'Change Icon' button to the right of the icon, the icon switches back to the one embedded in the program without me doing anything. I then close everything and the correct icon is displayed in the tabbed dock. So far this has happened once to 'calc.exe' and twice to 'writer.exe'. I have not tried the 'Reset Icon' button.