TMI leg crease rash

For the past few months I’ve been having this problem where my thigh creases get moist and sometimes they get a rash and kinda hurt like they’re raw or something. If I wipe the crease it looks like this on a baby wipe

Any idea why this is happening?