Its because the people who made your laptop installed windows using a predefined set of configuration arguments. manufacturers who assemble and sell computers are called OEMs (Original Equipment Manufacturers), and the windows installer lets those OEMs customize the setup experience by feeding it preconfigured data, as well as allow them install windows in a fully automated fashion at manufacturing-scale.
This article from your question states clearly how the name is generated if the OEM does not supply a ComputerName argument in the unattend.xml file their installer uses. To get more details on the exact arguments used, you will have to inspect that file.
From: https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-shell-setup-computername
ComputerName specifies the computer name used to access the computer from the network.
Note In Windows 10, users can no longer enter a computer name during
OOBE as the name is auto-generated. To set a default computer name
pre-OOBE, OEMs can configure ComputerName in the Unattend.xml file and
specify a name for the computer. After OOBE, end users can change this
default computer name after OOBE by changing it in the System
Properties page. Values
If ComputerName is not specified, a random computer name is generated.
If ComputerName set to an asterisk (*) or is included but empty (""),
Windows creates a random 15-character name using up to 7 characters
from FullName and Organization, then a dash, then more random
characters.