Altering or touching a file does not always update the parent directory modification time?
Your observations seem to be off. In this respect macOS works the same as Linux - the modification time for the parent directory change when you add, remove or rename files/subdirectories in that directory.

The modification time is not changed when you alter the contents of files. Neither on macOS nor on Linux.