I think in large part it boils down to better catechesis. I am the only one in my family under 70 who still goes to Mass, and often times when I’m talking religion with other Catholics, I feel like I’m the only one who understands what the Mass truly is - the sacrifice of Christ on Calvary for the salvation of man. People find Mass boring because they don’t understand what it is and how you should pray the Mass.
Most of what I know about the faith, despite the fact that I went to Catholic elementary school, I taught myself by spending time on this forum, reading the Catechism and scripture, and seeking out solid priests.
If the catechesis about the Mass improves, people will not only realize why it’s important to go to Mass: they might actually enjoy and get something out of going to Mass.
As an after thought, I feel that the Mass itself should have more of a sacred atmosphere. When I watch a Mass on EWTN, or when I go to the FSSP parish in town, or when I go to the reverent OF near my house, I feel like I’ve entered a holy space. People are quiet. There are stained glass windows, holy water, the tabernacle is at the altar, there’s chanting and organ music. I know that I’m about to assist at the august sacrifice of the altar.
When I go to other parishes, such as the one I grew up at, it feels less like a church and more like a community center or even a Protestant worship space. I feel less like I’m going to assist at a sacrifice, and more like I’m going to have a community get together (albeit with people I don’t know).
The focus of the Mass itself and of the church building needs to be on almighty God and not on ourselves.
When the primary understanding of the Mass is a community get together and meal, why go if you don’t particularly care for the community? After all, I have my own friends and family I can get together with. But if the primary understanding of the Mass is as the sacrifice of Christ so that graces could be poured into our souls for our eternal redemption, the reason why we can’t miss Mass is understood.