Things that can influence stall speed include weight, power, center of gravity, flaps/landing gear configuration, and more.
Why? Well, stall speed isn't a real thing. There isn't a speed at which you stall, that's not how it works. It's a convenient short-hand that we use for the more complicated reality. The physical reality is that stalls happen at a particular angle of attack (AOA) into the apparent wind. That is, the angle of your wings relative to the airflow. Up to the critical angle a higher AOA means more lift to counteract gravity. As you slow down you generate less lift because there's less airflow over the wings. So as you slow down, in order to generate a similar amount of lift you have to increase your AOA. If you keep slowing down and adjusting your AOA to compensate, you'll reach a speed that's low enough and therefore AOA high enough that adding more AOA no longer adds more lift (the air no longer flows smoothly over the wing). That's the stall speed, the speed at which more AOA no longer generates more lift. But it's the AOA that's the problem, not the airspeed.
In addition to lower speeds needing more AOA, you also need a higher AOA if you weigh more. A wrong but illustrative way to think about it might be that you need the engine's thrust pointed more towards the ground the more you weigh. That means that as you burn fuel (lose weight) the AOA that will stall you doesn't change, but the excess AOA available due to your weight-change does so in effect the air speed at which you would be near the critical AOA to stay airborn does change.
Stall speed is still a useful concept especially while landing but it's misleading outside of landing and when anything else is remotely unusual like weight or modifications to the plane. For this reason the FAA has been trying to get AOA indicators installed in planes and to train pilots to look at those instead of thinking about stall speeds https://www.faa.gov/sites/faa.gov/files/2022-01/Angle%20of%2...