Resource credits and HIVE Power are linked like Ethereum and gwei... You get resource credits allocated by balance of HP and you get gwei allocated by conversion rate of ETH-gwei depending on network utilization.
You can run out of resource credits just like a transaction can run out of gwei even if same transaction would succeed at any other moment using same "fee".