Added to support the purlin mid-span, transferring load to a wall below.
I’ve had a SE make an informal recommendation for me to do similar in the past, there seems to be a view that the original design is under-specced in some cases. Presumably made worse by certain heavier roof tiles.