These laws are mostly from the early 19th century. It wasn't necessary for religious interests to lobby back then because religion was ubiquitous at the time. And even if the laws were more recent, there is nothing inherently immoral or unethical about lobbying for legislation.