And why does the folder for 64-bit applications have 32 in the name and 64 for 32-bit? What is > logic?
There is no logic here.
System32 is the classic name of the main Windows system folder from the time of the first 32-bit systems.
The same folder that confused you with the presence of the number "64" in the title - SysWoW64 contains the libraries necessary for reverse compatibility of the 64-bit OS with 32-bit programs. The second part of the name of this folder is deciphered as "Windows on Windows", and the number 64 indicates the current operating system's discharge (for which the compatibility system is intended).
Educational ©