Not all offensive fouls (no definition BTW) are treated the same.
It does matter if it is a TC foul or a PC foul BTW. And those would not result in FT being shot. And usually an illegal screen (but not always) would be a TC foul.
And off ball foul could be not in a TC situation like a rebounding foul.
Peace