To put it in short, the phone chargers are chargers not powersupplies, their current is not even, it goes up and down. Everything from wire guage, to the quality of components inside decide the voltage & current it will out put. Plus its not an exact fit, so you dont know what level is the charger providing to the Pi.
RPI4 is uniquely sensitive about power. You can check the voltage being provided.
Check if these commands can help you diagnose the issue ->
https://www.raspberrypi.org/forums/viewtopic.php?t=190584
The reason I tell you this is cause when i bought the pi4 in 2019, I had done extensive research as I was going to make a NAS with it. I tried it with other powesupplies from Amazon plus current ones I had. The cpu was throttled and voltage varied a lot. Even on my Oneplus 3T charger. Also the 4 volt oneplus delivers is in proprietary tech, not sure its reaching the RPI4. I got 2 original powersupplies for both my rpi4s in 2019 and I have my NAS on since 2019, its never had any issue. Its connected to usb hdd all the time.
Check the above, try the commands and see if you find a problem.