Airlines have nothing to do with assigning TSA Pre to individuals. All of those decisions are made exclusively by TSA.
If TSA Pre is printed on a boarding pass, a TSA computer system put it there.
If an inexperienced traveler is sent to a TSA Pre line, that was done by a TSA employee.