no those tests will not cause hair loss. people do lose hair from time to time (hair that is in the "resting stage") so any loss is likely to be just a coincidence.
can having a mammogram and a bone density test on the same day cause hair loss?