These are 2 common independent issues people seek evaluation.
This could be coincidental or the back pain
is leading to constipation
or vice versa &there is now bleeding from a hemmoroid. This could also be something happening within your GI tract causing both the back pain & blood or even due to taking anti inflammatory medication for your back pain which could be a reason for blood. See md.