Because name points to the player instance itself. Don’t use misleading names, that is why you got confused.
local Players = game:GetService("Players")
local client = Players.LocalPlayer -- player works fine too in place of client
print("Name is " .. client.Name)