RepairPal Certified shops can diagnose and repair your 2012 Mazda CX-7. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.
Sounds like a possible engine timing issue, depending how the engine is cranking. Strongly suggest hands on diagnostic testing to find out what is going on.