The files get their default permissions from the users or processes that create them. If a file is created using text editors, it will have read and write permissions and no executable permissions for everyone. Similarly, a binary executable created using compilers generally has executable permission sets, since they are meant for execution.