This situation is that the tire is too narrow, the hub rim is too wide, resulting in a large gap, and the air runs when it is inflated.
It is recommended to find something slightly thick (a wooden stick, a bottle, etc.), insert it into the tire inlet by hand, widen the tire inlet, and park it for a few hours.
Remove the stuff and immediately install the tire for inflation.