rub up against

上級 (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."