In the case of both auctions, your bid wasn’t at least an increment above the current price when the snipe was being placed. At those prices, the next increment was $1.
Your $42.55 snipe would had to have been $43.26 ($42.26 + increment) just to get placed (doesn’t mean won). Your $39.99 needed $40.58.