The environment variables displayed in Jenkins (Manage Jenkins -> System information) are inherited from the system (i.e. inherited environment variables)
If you run an environment command in a shell then you will see the same environment variables as Jenkins shows.
variables are set by the shell/system or by you in ~/.bashrc, ~/.bash_profile.
Jenkins when a job executes It also set environment variables, but these are not displayed in the System Information.