Why does San Francisco intentionally foul at the end of the first half?

USF uses analytics and data as well as anyone in college basketball.