won't they get transferred to another bucket even if the corresponding key's state and hence it's hash code changes............
A hash code implementation that returns different values with time is incorrect.
The objects need not reside in the same bucket all the time. If the hash map size changes for example, the objects will have to be rearranged to reflect the new size of the underlying store. The way they are rearranged depends on the hashing algorithm used