That should be fine, no none of that should affect ph or water quality significantly tbh.
Honestly i cant see anything but bad initial fish health, equipment malfunction, or external actor (person/child, animal, or tank animal) being the cause. Everything else checks out.
Anyways, only way to find out is to put another fish in, preferably locally sourced and has been in their tanks for while (maybe 2 weeks+) so you can get it into your tank in the shortest amount of travel and know its not going to die from things that have happened to it during international shipping.
Also check in to your tank at night, you might see the culprit.