These keyboard shortcuts are all Emacs navigation commands, which are built into macOS (and iPadOS with an external keyboard). Here is a good list.
Others have posted about this on MPU in the past:
Most recently, @Synchronicity posted about it here:
Here is a post from 2020 on the topic:
5 Likes