As I understand it, those issues are separate, but are related in that Republicans would like to use the
threat of not raising the debt limit as leverage to kill the BBB Act(which they hate). Unfortunately, it's not that straight forward. There are ways that the Democrats could raise the debt limit without any help from the other side, and the Republicans would like to avoid that.
If Congress would cut spending, and learn to live within their means, they wouldn't have to keep raising the debt limit, but I doubt that will happen anytime soon.
.