rub up against

Advanced (C1)neutral

to touch or meet something closely, sometimes in an uncomfortable way

"In the crowded train, my bag kept rubbing up against other passengers."