A progress bar is a chart, nothing more, nothing less. And as any data scientist will tell you, charts without labels are bad charts.
A progress bar should measure exactly one dimension, where a total is known, and a label should show what the dimension is. Usually progress bars implicitly measure "time left", but the total isn't known in that case, so progress bars are inapproprate.
For most "loading" scenarios, a spinner is a more appropriate element.