They could randomly select it for inspection (least likely), the package could look suspicious, or they are tipped off about it. There are stickied threads in the Shipping section that discuss stuff like what looks suspicious to postal inspectors. There's also a thread in the Newbie section about that. All well worth a read. Yes, any of these options could happen to domestic mail, but they are less likely than when the package goes through customs