To be fired at a job means the employer terminates employment against the will of the worker. Showing up late for work multiple times can be enough to get fired. To fire a cannon means to set it off. The use of the word "fire" is used in two ways here. 
When the human cannonball was late for work he got fired .