The main reasons are two: pigs are difficult to feed, and pork milk, as some people say, smells rather unpleasant.
In principle, this product is very nutritious (in it, for example, about 8.5% fat), and one pig a day can produce about 5 liters of milk (cows, however, can 30 liters). Nevertheless, they say that the pig breast is a real puzzle. During lactation, pigs are aggressive and suspicious. In addition, they have many small nipples (12-14 pieces), producing a little milk over a short period of time. Under such anatomy and physiology, good automated devices pumping milk have not yet been invented. In addition, a feeding pig can usually not get pregnant, so it is not beneficial to keep pigs in a state of lactation with hormones, because then they will not be able to produce pigs. Finally, pigs are somewhat harder to keep clean than cows, so the risk of getting milk contaminated with something is higher in their case.
However, there are enthusiasts who have even tried cooking dairy products from pork milk. For example, American chef Edward Lee once made a ricotta from pork milk and claims it was delicious.