Thanks for the very pragmatic responses everyone!
Ribs are feeling better after 2 weeks, it does seem it was muscle and not bone bruise or anything bone related.
Unsure if I know the exact cause but definitely hard ridding for a long period of time that I'm not used to is part of it.