In your explanation you say that "The SHA256 algorithm will calculate a unique hash, given those inputs.".
Obviously, this can't be the case (since the number of possible hashes is smaller than the number of inputs). It is just very unlikely, that the same hash appears twice.